#include "ukui-cpuclock-plugin.h"
#include <QQmlEngine>
#include <QQmlContext>
#include "cpuclock.h"

void UkuiCpuClockPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(QString(uri) == QLatin1String("org.ukui.cpuclock"));
    qmlRegisterModule(uri, 1, 0);
    qmlRegisterType<CpuClock>(uri, 1, 0, "Cpuclock");
    Q_INIT_RESOURCE(res);
}